package com.ljf.tijian.mapper;

import com.ljf.tijian.pojo.Overallresult;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OverallresultMapper {
    int deleteByPrimaryKey(Integer orId);

    int insert(Overallresult record);

    int insertSelective(Overallresult record);

    Overallresult selectByPrimaryKey(Integer orId);

    @Select("select orId, title, content, orderId from overallresult where orderId = #{orderId}")
    List<Overallresult> selectByOrderId(Integer orderId);

    int updateByPrimaryKeySelective(Overallresult record);

    int updateByPrimaryKey(Overallresult record);
}